<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="sj" tagdir="/WEB-INF/tags/spring-jquery-tags"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<link href="<c:url value='/css/tablesorter.css' />" rel="stylesheet" type="text/css"/>
<link href="<c:url value='/css/dhtmlxcombo_view.css' />" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
	$(document).ready(function() {
		//$(".tablesorter").tablesorter().tablesorterPager({container: $("#pager")});
		$('#pageTitle').text('<spring:message code="findPaymentrequest.heading" />');
	});
		$('.close-button').click(function() {
		loadDiv('content', 'refreshDashboard.do');
     });
</script>

<div id="findPaymentReqDonorDiv" >
	<form:form name="editPaymentrequestForm" id="editPaymentrequestForm" action="findSearchPaymentrequest.do" method="GET" modelAttribute="paymentrequest">
		<form:hidden path="id" />
	    <div class="main_form">
	    	<div class="form_head">
	    		<a href="#" class="close-button gray_btn floatR" tabindex="-1">Close Form</a><br class="clear" />
	    	</div>
	        <div class="form_cont">
				<table cellspacing="5" width="100%">
					<tr class="row">
						<td class="input-field" colspan="5">
							<%@ include file="/common/messages.jsp" %>
						</td>
					</tr>		  
				</table>
				<div id="paymentReqListDiv" class="hastable" style="overflow: auto">
	                <c:if test="${!empty initiateSearch }">				
	                  <jsp:include page="/WEB-INF/jsps/searchFindPaymentRequest.jsp" />				
	                </c:if>
                </div>
			</div>
		</div>
	</form:form>
</div>
